body {

  margin: 0 auto;
  background-size: 100vw 100vh;
  //background: url('/util/宇航员.png') no-repeat fixed center;
  opacity: .8;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.header {
  border-radius: 10px;
  margin: 0 auto;
  width: 1024px;
  min-width: 300px;
  height: 100px;
  line-height: 100px;
  background-color: #e6dbb9;
  display: flex;
  //justify-content: space-around;

  div {
    padding-left: 10px;
  }

  .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 2;

    img {
      width: 130px;
      height: 90px;
      border-radius: 10px;
    }
  }

  .nav {

    flex: 3;

    li {
      float: left;
      padding: 0 20px;
    }
  }

  .search {
    flex: 3;
  }

  .user {
    flex: 2;

    img {
      border-radius: 50px;

      margin: auto 0;
      width: 50px;
      height: 50px;
      line-height: 50px;
    }
  }

}

@keyframes swiper-move {
  0% {
    margin-left: 0;
  }
  25% {
    margin-left: -800px;
  }
  50% {
    margin-left: -1600px;
  }
  75% {
    margin-left: -800px;
  }
  100% {
    margin-left: 0;
  }
}

.swiper {
  margin: 20px 0;
  height: 400px;
  background-image: url("/util/img/001.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100vw auto;

  .main {
    height: 400px;
    width: 800px;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 30px;

    ul {
      display: flex;
      height: 100%;
      //操作这里即可使图片滚动
      //忘记了动画
      animation: steps();

      li {
        a {
          display: block;
          width: 800px;
          height: 400px;

          img {
            width: 800px;
            height: 400px;
          }
        }
      }
    }
  }

}

.test {
  background-color: pink;

  .inner {
    width: 500px;
    margin: 0 auto;
    display: flex;

    img {
      //vertical-align: middle;
    }
  }

}

.wrap {
  margin: 30px auto;
  width: 600px;
  max-width: 100vw - 30vw;
  min-width: 100vw -50vw;
  padding: 20px;
  background-color: #f40;
  color: white;
  border-radius: 20px;

  .tr {
    margin: 20px 0;
  }
}



